package net.wanho.dao.impl;

import net.wanho.dao.UserDao;
import net.wanho.entity.User;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Repository;

/**
 * Author：汤小洋
 * Date：2025-06-26 14:21
 * Description：<描述>
 */
@Lazy
@Repository
public class UserDaoImpl implements UserDao {

    public UserDaoImpl() {
        // System.out.println("UserDaoImpl被创建了================");
    }

    @Override
    public void insert(User user) {
        System.out.println("向数据库中插入" + user);
    }
}
